package com.imooc.sell.enums;

import lombok.Getter;

@Getter
public enum OrderStatusEnum {

    NEW(0,"订单新建状态"),
    FINISHED(1,"订单已完结"),
    CANCEL(2,"订单被取消");


    private Integer code;

    private String  message;

    OrderStatusEnum(Integer code,String message) {
        this.code=code;
        this.message=message;
    }

}
